home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FLI106C.ZIP;1 / BLVRVR.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-12  |  768 b   |  48 lines

  1. //
  2. // The Fusion Library Interface for DOS
  3. // Version 1.06c
  4. // Copyright (C) 1990, 1991, 1992
  5. // Software Dimensions
  6. //
  7. // BlazeClass
  8. //
  9.  
  10. #ifndef __BCPLUSPLUS__
  11. #pragma inline
  12. #endif
  13.  
  14. #include "fli.h"
  15.  
  16. #ifdef __BCPLUSPLUS__
  17. #pragma hdrstop
  18. #endif
  19.  
  20. #define I asm
  21.  
  22. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  23. //
  24. // CopyVirtualToVirtual()
  25. //
  26. // Copy a virtual screen to a virtual screen
  27. //
  28. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  29.  
  30. void BlazeClass::CopyVirtualToVirtual(void far *FROM,void far *TO)
  31. {
  32.   int TotalWidth =  ScreenWidth*ScreenHeight;
  33.  
  34.   I push ds
  35.  
  36.   I lds si,FROM
  37.   I les di,TO
  38.  
  39.   I mov cx,TotalWidth
  40.  
  41.   I cld
  42.  
  43.   I rep movsw
  44.  
  45.   I pop ds
  46. }
  47.  
  48.